﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MoviesPlayer
{
    
    public partial class WindowsPlayer : Form
    {
      
        public WindowsPlayer()
        {
         
            InitializeComponent();
        }
        
        public WindowsPlayer(string url)  {
            InitializeComponent();
            this.axWindowsMediaPlayer1.URL=url;
            this.axWindowsMediaPlayer1.enableContextMenu = false;
            this.axWindowsMediaPlayer1.Ctlcontrols.play();
        
        }
       
    }
}
